github.com/google/go-cmp/cmp.state.curPath (field)
11 uses
github.com/google/go-cmp/cmp (current package)
compare.go#L169: curPath Path // The current path in the value tree
compare.go#L238: s.curPath.push(step)
compare.go#L239: defer s.curPath.pop()
compare.go#L244: s.recChecker.Check(s.curPath)
compare.go#L544: panic(fmt.Sprintf("%#v has map key with NaNs\n%s", s.curPath, help))
options.go#L97: panic(fmt.Sprintf("%s at %#v:\n\t%s\n%s", warning, s.curPath, set, help))
options.go#L135: if f.fnc(s.curPath) {
options.go#L232: if t := s.curPath.Index(-2).Type(); t.Name() != "" {
options.go#L246: panic(fmt.Sprintf("cannot handle unexported field at %#v:\n\t%v\n%s", s.curPath, name, help))
options.go#L307: for i := len(s.curPath) - 1; i >= 0; i-- {
options.go#L308: if t, ok := s.curPath[i].(Transform); !ok {